import { Routes } from '@angular/router';

import { DirComponent } from './dir.component';
import { EditorComponent } from './editor.component';

export const routes: Routes = [
    {
        path: 'file/:fileId',
        component: EditorComponent,
        pathMatch: 'full'
    },
    {
        path: '**',
        component: DirComponent,
    },
]
